let btn = document.querySelector(".icon-menu");
let close = document.querySelector(".icon-close");
let left1 = document.querySelector(".left1");
let left2 = document.querySelector(".left2");
let left3 = document.querySelector(".left3");
let flag = true;
btn.addEventListener("click", () => {
  left1.style.left = "0";
  setTimeout(() => {
    left2.style.left = "0";
  }, 200);
  setTimeout(() => {
    left3.style.left = "0";
  }, 400);
});

close.addEventListener("click", () => {
    left3.style.left = "-460px";
    setTimeout(() => {
      left2.style.left = "-480px";
    }, 200);
    setTimeout(() => {
      left1.style.left = "-500px";
    }, 400);
  });
  
